package com.example.factory;

import com.example.service.InfoService;
import com.example.service.TuShuService;
import com.example.service.XueShengService;
import com.example.service.impl.InfoServiceImpl;
import com.example.service.impl.TuShuServiceImpl;
import com.example.service.impl.XueShengServiceImpl;



/**
 * service工厂类
 * 
 * @author yinfeng
 * 
 */
public class ServiceFactory {
	public static InfoService getInfoService() {
		return new InfoServiceImpl();
	}

	public static XueShengService getShengService() {
		return new XueShengServiceImpl();
	}
	public static TuShuService getTuShuService() {
		return new TuShuServiceImpl();
	}
}
